package br.edu.intec.agenda.dao;

import java.util.List;
import br.edu.intec.agenda.exception.DAOException;

public interface IDao<T> {
	
	public void save(T entity) throws DAOException;
	public void update(T entity) throws DAOException;
	public void delete(T entity) throws DAOException;
	public List<T> findAll() throws DAOException;
	public T findById(Integer id) throws DAOException;
	
}
